package com.itcast.tanhuaserver.service;

import com.itcast.tanhuaserver.domain.Settings;

/**
 * @PachageName: com.itcast.tanhuaserver.service
 * @ClassName:
 * @Description: TODO
 * @Author: Hushi
 * @DateTime: 2021/3/123:08
 * @Version 1.0
 */
public interface SettingsService {
    /**
     * 根据用户id查询配置
     *
     * @param userId
     * @return
     */
    Settings querySettings(Long userId);

    void updateNotification(Long id, Boolean likeNotification, Boolean pinglunNotification, Boolean gonggaoNotification);
}
